package minCount;

public class Solution {
    public int minCount(int[] coins) {
        // 贪心 n/2 + n%2
        int ans = 0;
        for (int c: coins) {
            ans+=(c/2 + c%2);
        }
        return ans;
    }
}
